package com.groupbuying.store.dao;

import com.groupbuying.store.domain.StoreOpexRuleRelPreDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 运营规则预设表
 * @author zmlmagic
 * @email zmlmagic@163.com
 * @date 2019-09-21 13:41:26
 * @des
 */

@Mapper
@Repository
public interface StoreOpexRuleRelPreDao {

	StoreOpexRuleRelPreDO get(Integer preId);
	
	List<StoreOpexRuleRelPreDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(StoreOpexRuleRelPreDO storeOpexRuleRelPre);
	
	int update(StoreOpexRuleRelPreDO storeOpexRuleRelPre);
	
	int remove(Integer pre_id);
	
	int batchRemove(Integer[] preIds);
}
